package com.car;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

import com.car.fitter.filter;

@SpringBootApplication
@EnableZuulProxy
public class serviceZullApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(serviceZullApplication.class, args);
		
	}
	
	@Bean
	public filter accessFilter(){
		return new filter();
	}

}
